package com.qingke.easyjava.jdbc.dao;

import java.util.List;

import com.qingke.easyjava.jdbc.pojo.Answer;
import com.qingke.easyjava.jdbc.pojo.Player;
import com.qingke.easyjava.jdbc.pojo.Question;

public interface AnswerDao {
	
	public Answer getAnswer(long answerId);
	public List<Answer> getAnswersFrom(Player player);
	public List<Answer> getAnswersFrom(Question question);
	

	public void upsertAnswer(Answer answer);
	public void acceptAnswer1(Answer answer);

}
